package com.qiong.mvnbook.account.persist;

/**
 * @Author: Liqc
 * @Date: 2022/3/6 22:55
 */
public interface AccountPersistService {

    Account createAccount(Account account) throws AccountPersistException;
    Account readAccount(String id) throws AccountPersistException;
    Account updateAccount(Account account) throws AccountPersistException;
    void deleteAccount(String id) throws AccountPersistException;

}
